package com.bnz.factory;

import com.bnz.pojo.Student;

/**
 * 静态工厂方法
 */
public class StudentStaticBeanFactory {
    public static Student getStudent(){
        System.out.println("静态工厂方法创建对象");
        return new Student();
    }

}
